Summary(ru_RU.UTF-8): Оформление рабочего стола KDE Plasma 5 для МОСТех
Summary:	KDE Plasma 5 desktop themes for MOSTech
Name:		plasma5-desktoptheme-mostech
Version:	1.2
Release:	5
License:	GPLv3
Group:		Graphical desktop/KDE
Url:		https://ig.mos.ru
BuildArch:	noarch
BuildRequires:	kde5-macros
Supplements:	plasma5-look-and-feel-mostech

Source1:	start.svg
# light
Source10:	light_colors
Source11:	light_metadata.desktop
# dark
Source20:	dark_colors
Source21:	dark_metadata.desktop

%description
%summary.

%description -l ru_RU.UTF-8
Оформление рабочего стола KDE Plasma 5 для МОСТех

%files
%dir %{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark
%dir %{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark/icons
%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark/colors
%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark/icons/start.svg
%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark/metadata.desktop
%dir %{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light
%dir %{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light/icons
%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light/colors
%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light/icons/start.svg
%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light/metadata.desktop

#----------------------------------------------------------------------------

%prep
%setup -T -c

%install
mkdir -p %{buildroot}%{_kde5_datadir}/plasma/desktoptheme/MOSTech-{Dark,Light}/icons
install -m644 %{SOURCE10} %{buildroot}%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light/colors
install -m644 %{SOURCE11} %{buildroot}%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light/metadata.desktop
install -m644 %{SOURCE20} %{buildroot}%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark/colors
install -m644 %{SOURCE21} %{buildroot}%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark/metadata.desktop
install -m644 %{SOURCE1} %{buildroot}%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Light/icons/start.svg
install -m644 %{SOURCE1} %{buildroot}%{_kde5_datadir}/plasma/desktoptheme/MOSTech-Dark/icons/start.svg
